var mongoose = require('mongoose')
// mongoose.set('strictQuery', false)
mongoose.connect("mongodb://api:123456@39.105.170.145:27017/api", (err) => {
    if (!err) return console.log('连接成功 ~');
    console.log('连接失败~~');
})

module.exports = mongoose